/**
 *This program dispalys a greeting from the authors
 *@version 1.20 2004-02-28
 *@author Cay Horsmann
*/
public calss WangCheng
{
  public static void main(String[] args)
   {
     String[] greeting = new String[3];
     greeting[0] = "Welcome to Core Java";
     greeting[1] = "by Cay Horsmann";
     
     for (String g : greeting)
     System.out.println(g);
    }
}
     